﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000321 RID: 801
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkUnlockTalentCsReq : IMessage<ClockParkUnlockTalentCsReq>, IMessage, IEquatable<ClockParkUnlockTalentCsReq>, IDeepCloneable<ClockParkUnlockTalentCsReq>, IBufferMessage
	{
		// Token: 0x17000A5C RID: 2652
		// (get) Token: 0x060023D2 RID: 9170 RVA: 0x0006536C File Offset: 0x0006356C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkUnlockTalentCsReq> Parser
		{
			get
			{
				return ClockParkUnlockTalentCsReq._parser;
			}
		}

		// Token: 0x17000A5D RID: 2653
		// (get) Token: 0x060023D3 RID: 9171 RVA: 0x00065373 File Offset: 0x00063573
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkUnlockTalentCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A5E RID: 2654
		// (get) Token: 0x060023D4 RID: 9172 RVA: 0x00065385 File Offset: 0x00063585
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkUnlockTalentCsReq.Descriptor;
			}
		}

		// Token: 0x060023D5 RID: 9173 RVA: 0x0006538C File Offset: 0x0006358C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUnlockTalentCsReq()
		{
		}

		// Token: 0x060023D6 RID: 9174 RVA: 0x00065394 File Offset: 0x00063594
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUnlockTalentCsReq(ClockParkUnlockTalentCsReq other) : this()
		{
			this.talentId_ = other.talentId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060023D7 RID: 9175 RVA: 0x000653B9 File Offset: 0x000635B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUnlockTalentCsReq Clone()
		{
			return new ClockParkUnlockTalentCsReq(this);
		}

		// Token: 0x17000A5F RID: 2655
		// (get) Token: 0x060023D8 RID: 9176 RVA: 0x000653C1 File Offset: 0x000635C1
		// (set) Token: 0x060023D9 RID: 9177 RVA: 0x000653C9 File Offset: 0x000635C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TalentId
		{
			get
			{
				return this.talentId_;
			}
			set
			{
				this.talentId_ = value;
			}
		}

		// Token: 0x060023DA RID: 9178 RVA: 0x000653D2 File Offset: 0x000635D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkUnlockTalentCsReq);
		}

		// Token: 0x060023DB RID: 9179 RVA: 0x000653E0 File Offset: 0x000635E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkUnlockTalentCsReq other)
		{
			return other != null && (other == this || (this.TalentId == other.TalentId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060023DC RID: 9180 RVA: 0x00065410 File Offset: 0x00063610
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TalentId != 0U)
			{
				num ^= this.TalentId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060023DD RID: 9181 RVA: 0x0006544F File Offset: 0x0006364F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060023DE RID: 9182 RVA: 0x00065457 File Offset: 0x00063657
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060023DF RID: 9183 RVA: 0x00065460 File Offset: 0x00063660
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TalentId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.TalentId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060023E0 RID: 9184 RVA: 0x00065494 File Offset: 0x00063694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TalentId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TalentId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060023E1 RID: 9185 RVA: 0x000654D2 File Offset: 0x000636D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkUnlockTalentCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TalentId != 0U)
			{
				this.TalentId = other.TalentId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060023E2 RID: 9186 RVA: 0x00065503 File Offset: 0x00063703
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060023E3 RID: 9187 RVA: 0x0006550C File Offset: 0x0006370C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TalentId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000E93 RID: 3731
		private static readonly MessageParser<ClockParkUnlockTalentCsReq> _parser = new MessageParser<ClockParkUnlockTalentCsReq>(() => new ClockParkUnlockTalentCsReq());

		// Token: 0x04000E94 RID: 3732
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E95 RID: 3733
		public const int TalentIdFieldNumber = 12;

		// Token: 0x04000E96 RID: 3734
		private uint talentId_;
	}
}
